<include file="./Application/Home/View/header.html"/>
<body>
<!--头部开始-->
<div id="top">
    <!--头部灰条就开始-->
    <div class="topbox">
        <div class="main">
            <div class="topleft fl">
                <a href="javascript:;">欢迎来到冰雨商城</a>
                <a href="#">设为首页</a>
                <a href="#">收藏本站</a>
                <a href="#">帮助中心</a>
                <a href="#" class='last'><i></i>手机商城</a>
            </div>
            <div class="topright fr">
                <div class="login fl">
                    <a href="#">登录</a>
                    <a href="#">注册</a>
                </div>
                <span class="fl">|</span>
                <div class="fcode fl">

                    <a href="">我的订单</a>
                </div>
            </div>
        </div>
    </div>
    <!--头部灰条结束-->

    <!--logo区域开始-->
    <div class="logoRegion main">
        <div class="logo">
            <a href=""><img src="images/360logo.png" alt=""/></a>
        </div>
        <div class="seachRegion fr">
            <div class="seach fl">
                <form action="" method="post">
                    <input type="text" class="seachtxt fl" value="O2+车载空气净化"/>
                    <input type="submit" class="btn" value=""/>
                </form>
                <p class="searchkey">
                    <a href="">电竞配件低至5折</a>
                    <a href="">电竞配件低至5折</a>
                    <a href="">电竞配件低至5折</a>
                </p>

            </div>
            <div class="topshopcart fr">
                <a href="" class="header-cart"><i></i>我的购物车<span class="cart-size">(0)</span></a>
                <div class="cart-tips">
                    请
                    <a href="">登录</a>后查看您的购物车。
                </div>
            </div>
        </div>

    </div>
    <!--logo区域结束-->
    <div class="clear"></div>
    <!--导航开始-->
    <div class="navbox">
        <div class="main">
            <h5 class="fl"><a href=""><i></i>全部智能酷品</a></h5>
            <ul class="menu fl">
                <li class="menulist">
                    <a href="">手机</a>
                    <div class="menuHiden">

                        <ul class="product">

                            <li>
                                <a href=""><img src="images/right.png" alt=""/></li>
                            <li><img src="images/right.png" alt=""/></a>
                            </li>
                            <li>
                                <a href=""><img src="images/right.png" alt=""/></li>
                            <li><img src="images/right.png" alt=""/></a>
                            </li>
                            <li>
                                <a href=""><img src="images/right.png" alt=""/></li>
                            <li><img src="images/right.png" alt=""/></a>
                            </li>

                        </ul>

                    </div>
                </li>
                <li class="menulist">
                    <a href="">行车记录仪</a>
                    <div class="menuHiden">
                        <ul class="product">

                            <li>
                                <a href=""><img src="images/right.png" alt=""/></li>
                            <li><img src="images/right.png" alt=""/></a>
                            </li>
                            <li>
                                <a href=""><img src="images/right.png" alt=""/></li>
                            <li><img src="images/right.png" alt=""/></a>
                            </li>
                            <li>
                                <a href=""><img src="images/right.png" alt=""/></li>
                            <li><img src="images/right.png" alt=""/></a>
                            </li>

                        </ul>
                    </div>
                </li>
                <li class="menulist">
                    <a href="">儿童手表</a>
                    <div class="menuHiden">
                        <ul class="product">

                            <li>
                                <a href=""><img src="images/right.png" alt=""/></li>
                            <li><img src="images/right.png" alt=""/></a>
                            </li>
                            <li>
                                <a href=""><img src="images/right.png" alt=""/></li>
                            <li><img src="images/right.png" alt=""/></a>
                            </li>
                            <li>
                                <a href=""><img src="images/right.png" alt=""/></li>
                            <li><img src="images/right.png" alt=""/></a>
                            </li>

                        </ul>
                    </div>
                </li>
                <li class="menulist">
                    <a href="">摄像机</a>
                    <div class="menuHiden">
                        <ul class="product">

                            <li>
                                <a href=""><img src="images/right.png" alt=""/></li>
                            <li><img src="images/right.png" alt=""/></a>
                            </li>
                            <li>
                                <a href=""><img src="images/right.png" alt=""/></li>
                            <li><img src="images/right.png" alt=""/></a>
                            </li>
                            <li>
                                <a href=""><img src="images/right.png" alt=""/></li>
                            <li><img src="images/right.png" alt=""/></a>
                            </li>

                        </ul>
                    </div>
                </li>
                <li class="menulist">
                    <a href="">路由器</a>
                    <div class="menuHiden">
                        <ul class="product">

                            <li>
                                <a href=""><img src="images/right.png" alt=""/></li>
                            <li><img src="images/right.png" alt=""/></a>
                            </li>
                            <li>
                                <a href=""><img src="images/right.png" alt=""/></li>
                            <li><img src="images/right.png" alt=""/></a>
                            </li>
                            <li>
                                <a href=""><img src="images/right.png" alt=""/></li>
                            <li><img src="images/right.png" alt=""/></a>
                            </li>

                        </ul>
                    </div>
                </li>
                <li class="menulist">
                    <a href="">儿童机器人</a>
                </li>
                <li class="menulist">
                    <a href="">智品牌</a>
                </li>
                <li class="menulist">
                    <a href="">一元夺宝</a>
                </li>
                <li class="menulist">
                    <a href="">试用</a>
                </li>
                <li class="menulist">
                    <a href="">社区</a>
                </li>
            </ul>

        </div>

    </div>
    <!--导航结束-->
    <div class="clear"></div>

</div>
<!--头部结束-->
<!--中间开始-->
<div id="content">
    <form action="{:u('home/order/addOrder')}" method="post">


        <div class="car main">
            <div class="carshop">
                <div class="cartitle">
                    <div class="carcheck">
                        <div class="checkbox">
                            <span class="check" id="allcheck"></span>

                        </div>
                        全选
                    </div>
                    <div class="carname">商品名称</div>
                    <div class="carmoney">单价</div>
                    <div class="carnum">数量</div>
                    <div class="carcount">小计</div>
                    <div class="carhandle">操作</div>
                </div>
                <foreach name="cartData.goods" item="cd" key="k">
                    <div class="shopcontent">
                        <div class="shopcheck">
                            <div class="checkbox">
                                <span class="check "></span>
                                <input type="checkbox" name='cartId[]' class="checkhide" value="{$k}" />
                            </div>
                        </div>
                        <div class="shopname">
                            <div class="carimg">
                                <a href=""><img src="__ROOT__{$cd['pic']}"/></a>
                            </div>
                            <p>
                                <a href="#">{$cd['name']} <?php echo  implode('-',$cd['options'])?></a>
                                <!--<span>适配机型： 小米手机5</span>-->
                            </p>
                        </div>
                        <div class="shopmoney">{$cd['price']}元</div>
                        <div class="shopnum">

                            <a href="javascript:;" class="num_l">-</a>
                            <input type="text" value="{$cd['num']}"/>
                            <a href="javascript:;" class="num_r">+</a>
                        </div>
                        <div class="shopcount">{$cd['total']}元</div>
                        <div class="shophandle"><span>x</span></div>
                    </div>
                </foreach>

            </div>
            <div class="jiesuan">
                <div class="jixu"><a href="">继续购物</a></div>
                <div class="gongji">共计<span>{$cartData['total_rows']}</span>件商品</div>
                <div class="heji">合计<span>{$cartData['total']}</span></div>
                <div class="gou"><input type="submit" value="去结算"/></div>

            </div>
        </div>


    </form>


</div>
</div>
<!--中间结束-->
<include file="./Application/Home/View/footer.html"/>